<html jwcid="@Border" title="message:admin.edit.bet.header">
	<h1><span key="admin.edit.bet.header"/></h1>
	<a jwcid="linkToEditEventPage">
		<img jwcid="@Insert" value="ognl:messages.format('admin.edit.bet.link.to.edit.event', bet.event.label)"/>
	</a>
	<span jwcid="betEditorContainer@Any">
		<span jwcid="@bookie:ShowErrors" delegate="ognl:delegate"/>
		<span jwcid="@bookie:ShowMessage" message="ognl:message"/>
		<form jwcid="eventForm">
			<table>
				<tr>
					<td><span jwcid="@FieldLabel" field="component:label">Bet Label:</span></td>
					<td><input jwcid="label" style="width: 300px;"/></td>
				</tr>
			</table>
			<br/><br/>
			<h2><span key="admin.edit.bet.outcomes.available"/></h2>
			<table jwcid="outcomes">
				<tr>
					<td><input jwcid="outcome" class="long"/></td>
					<td><input jwcid="odds" class="short"/></td>
					<td><input jwcid="delete" class="button"/></td>
				</tr>
			</table>
			<br/><br/>
			<input jwcid="save" class="button"/>
		</form>
		<span jwcid="@tacos:DirtyFormWarning" form="component:eventForm"/> 
		<h1><span key="admin.edit.bet.outcome.add.header"/></h1>
		<form jwcid="newOutcomeForm">
			<table>
				<tr>
					<td><span jwcid="@FieldLabel" field="component:newOutcomeLabel">Bet Label:</span></td>
					<td><input jwcid="newOutcomeLabel" class="long"/></td>
				</tr>
				<tr>
					<td><span jwcid="@FieldLabel" field="component:newOutcomeOdds">Bet Label:</span></td>
					<td><input jwcid="newOutcomeOdds" class="short"/></td>
				</tr>
				<tr>
					<td colspan="2"><input jwcid="addOutcome" class="button"/></td>
				</tr>
			</table>
		</form>
	</span>
</html>